<%@ page import="org.apache.commons.lang.StringUtils"%>
<%@ page contentType="text/xml;charset=UTF-8" %>
<%@ page import="com.hz.supermanage.dao.*,com.hz.supermanage.bean.*" %>
<%
	request.setCharacterEncoding("UTF-8");
    String uuid = request.getParameter("uuid");
    String parentNameOrg ="";
    if (StringUtils.isBlank(uuid)) {
         //throw new BusinessException("部门标识不能为空");
    }
    OrganizationDao dao = new OrganizationDao();
    Hzsysorganization dep = new Hzsysorganization();
    try {
    	dep = dao.queryNodeInfo(uuid);
        String parentOrgId = dep.getParentid();
        
        Hzsysorganization par = dao.queryNodeInfo(parentOrgId);
        parentNameOrg = par.getDepname();
    }catch(Exception ex) {
        //throw new BusinessException("读取单位信息失败", ex);
    }
%>
<?xml version="1.0" encoding="UTF-8"?>
<xuice>
    <%=dao.generalTMIXml(dep)%>
    <parentname><![CDATA[<%=parentNameOrg%>]]></parentname>
</xuice>